package cn.tedu.shoot;

import java.awt.image.BufferedImage;

public class BulletBoss extends FlyingObject{
	private int speed;
	public BulletBoss(int x,int y){
		super(35,78,x,y);
		speed = 3;
 	}
 	public void step(){
 		y += speed;
 	}
 	public BufferedImage getImage() {
			if(isLife()) {
					return Images.bulletboss;
			}else if(isDead()) {
				state = REMOVE;
			}
			return null;
		}
 	public boolean outOfBounds(){
 		return y>=World.HEIGHT;
 	}
}
